public class Project3{
    public static void main(String [] args){
        
        
        
        if(args.length == 1){
            ExpressionTree X = new ExpressionTree(args[0]);
            System.out.println("preorder traversal:\t"+X.preorder());
            System.out.println("postorder traversal:\t"+X.postorder());
            System.out.println("infix evaluated:\t" +X.inorder() + "= " + X.evaluate());
        }
        else{
            System.out.println("usage: java Project3 <inputfile>");
        }
        }
    }

